home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 8 (Internal Edition)
/
Apple R&P Lib Internal v8.0.iso
/
3-Presentations
/
Service⁄Support⁄Training
/
Self-Paced Training
/
Macintosh Family Training
/
Macintosh Family Training⁄C
/
Macintosh Family Training_C
/
stack_-1.xml
< prev
next >
Wrap
Extensible Markup Language
|
1990-06-04
|
21KB
|
117 lines
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in</name>
<id>-1</id>
<cardCount>93</cardCount>
<cardID>9916</cardID>
<listID>15246</listID>
<cantModify><true /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>640</width>
<height>480</height>
</cardSize>
<script>--—————————————————————————————————————————————————————————————————————-- Script of Stack "Macintosh Family Color"-- Copyright © 1990 by Apple Computer, Inc.-- Main (large) stack for the October ’90 Training stacks--—————————————————————————————————————————————————————————————————————-- Produced by Tom Hudson in Apple Training Support-- Written, Modified, and Illustrated by Margaret Steimer-- Designed by Chuck Walker-- HyperCard construction by Chuck Walker---- Globals: mapLocFam, completeFam, footprintsFam, prefsStack,-- ATSUserName, whatSound-- Handlers: openStack, closeStack, suspendStack, closeBackground,-- openCard, fieldLink, makeAMark, checkCompletion,-- doStackHelp, noFunction, returnTo, showMenu,-- menuNavigation, showMarker, goMark, showPrinting,-- doPrinting, doStackGlossary-- doMenu, returnKey, arrowKey, enterKey-- (note: resources are installed in this stack)-- Fonts: AplGaram 16, 24, 48;-- B AplGaram Bold 16, 24;-- CL Futura CondensedLight 12, 14;-- CB Futura CondensedBold 12;--—————————————————————————————————————————————————————————————————————on openStack-- place the window in the center of the screenget the screenRectput (item 3 of it / 2) - 320 into windLput (item 4 of it / 2) - 240 into windTset the rect of card window to windL,windT,windL + 640,windT + 480hide menuBarhide message windowhide tool windowhide pattern windowhide scroll windowhide groupsend openStack-- close any open paletteson closeStackif there is a window "mainMenu" then close window "mainMenu"if there is a window "markerMenu" then close window "markerMenu"if there is a window "printMenu" then close window "printMenu"end closeStack-- close any open paletteson suspendStackif there is a window "mainMenu" then close window "mainMenu"if there is a window "markerMenu" then close window "markerMenu"if there is a window "printMenu" then close window "printMenu"end suspendStack-- keep track of the most recent location for the stack mapon closeBackgroundglobal mapLocFam, footprintsFam, completeFamif the short name of this bg ≠ "Stack Map" thenput the short name of this bg into mapLocFamif completeFam = "done" then exit closeBackgroundif the short name of this bg is not in footprintsFam thenput mapLocFam into whatSectionput the number of this bg into sectionNumput the number of cards of this bg into howManyCardscheckCompletion whatSection,sectionNum,howManyCardsend ifend if-- don’t bother checking if all cards viewedrepeat with i=1 to the number of bgif i is not in footprintsFam then exit closeBackgroundend repeatput "done" into completeFamend closeBackground-- is this section complete?on checkCompletion whatSection,sectionNum,howManyCardsglobal completeFam, footprintsFamset cursor to busyput 0 into theCountput sectionNum & "•" into theSectionif theSection is in completeFam thenrepeat with x = 1 to the number of items in completeFamif theSection is in item x of completeFam then ¬put theCount + 1 into theCountend repeatif theCount > howManyCards - 4 thenput whatSection & "," after footprintsFamend ifend ifend checkCompletionon openCardglobal completeFamif there is a bg button "cardMark" thenif the short name of this card is in markedFam thenset the icon of bg button "cardMark" to "checkedBox"elseset the icon of bg button "cardMark" to "emptyBox"end ifend ifif completeFam ≠ "done" thenput the number of this bg & "•" & ¬the short name of this card into tempif temp is not in completeFam thenput the number of this bg & "•" & ¬the short name of this card & "," after completeFamend ifend ifput the number of this card into word 2 of field "cardNo"put the number of cards into word 4 of field "cardNo"end openCardon idleif there is a window "waitDLOG" then close window "waitDLOG"end idle--—————————————————————————————————————————————————————————————————————-- stack housekeeping scripts —————————————————————————————————————————on returnTopop card into lastPushif the short name of this stack is not in lastPush thenvisual iris close fastgo card "Stack Map"elsevisual iris close fastgo lastPushend ifend returnTo-- handler for grayed out buttonson noFunctionanswer "When a gray button has no icon, it means that option is not available."¬& return & return & "Click a button with an icon in it."¬with "Help" or "OK"if it is "Help" then doStackHelp grayend noFunction-- handler for text links-- if target not in field "subHead", look for it in Glossary stackon fieldLinkput empty into WhatToFindif the textStyle of the clickChunk is "bold,group" or¬the textStyle of the clickChunk is bold thenpush cardput the clickText into whatToFindif "*" is in whatToFind then doStackGlossary whatToFindelselock screenset lockmessages to TRUEfind string whatToFind in field "subHead"end ifunlock screen with visual iris open fastsend "openCard" to this cardend ifend fieldLink-- handler to mark/unmark cards in a locked stackon makeAMark checkglobal completeFam, markedFamif there is not a bg button "cardMark" then exit makeAMarkif check = "on" thenif the short name of this card is not in markedFam thenput the short name of this card & "," after markedFamset the icon of bg button "cardMark" to "checkedBox"end ifelse if check = "off" thenif the short name of this card is not in markedFam then exit makeAMarkset cursor to watchput markedFam into tempput empty into markedFamrepeat with x = 1 to the number of items in tempif the short name of this card is not in item x of temp thenput item x of temp & "," after markedFamend ifend repeatset the icon of bg button "cardMark" to "emptyBox"elseif the short name of this card is not in markedFam thenmakeAMark "on"elsemakeAMark "off"end ifend ifend makeAMark-- handler to play soundson playSound whatSNDset cursor to earplay whatSNDrepeat until the sound is doneif the mouse is down thenplay stopexit to hyperCardend ifend repeatend playSound--—————————————————————————————————————————————————————————————————————-- palette & help handlers ——————————————————————————————————————————-- open the help stack to the appropriate cardon doStackHelp whatCardset cursor to busyget the loc of card windowput item 1 of it + 432 into xLocput item 2 of it + 248 into yLoclock screenpush cardset cursor to busygo to stack "ATS Help" in a new windowif whatCard ≠ empty then go card whatCardset cursor to busyset the loc of the card window to xLoc,yLocunlock screen with visual wipe up fastend doStackHelp-- open the Glossary stack to the appropriate termon doStackGlossary whatToFinddelete char (offset("*",whatToFind)) of whatToFind -- dump asteriskset cursor to busyget the loc of card windowput item 1 of it + 212 into xLocput item 2 of it + 248 into yLoclock screenpush cardset cursor to busygo to stack "ATS Glossary" in a new windowset cursor to busyif whatToFind ≠ empty then find whatToFind in field "text1"set the loc of the card window to xLoc,yLocunlock screen with visual wipe up fastend doStackGlossary-- handler to show navigation paletteon showMenuif there is a window "mainMenu" thenclose window "mainMenu"elseif there is a window "markerMenu" then close window "markerMenu"if there is a window "printMenu" then close window "printMenu"palette "mainMenu","424,331"end ifend showMenu-- navigation handler for navigation paletteon menuNavigation whatCardpush cardplay stopvisual iris open fastgo card whatCardend menuNavigation-- handler to show marked cards paletteon showMarkerif there is a window "mainMenu" then close window "mainMenu"palette "markerMenu","432,352"end showMarker-- marked cards navigatoron goMark whichWayglobal markedFamif the number of items in markedFam = 0 thenanswer "There are currently no marked cards."exit goMarkend iflock screenset lockMessages to trueset lockRecent to trueset cursor to watchif whichWay = "next" thengo nextrepeat until the short name of this card is in markedFamif the short name of this card is in markedFam then exit repeatgo nextend repeatunlock screen with visual wipe left fastelse if whichWay = "prev" thengo prevrepeat until the short name of this card is in markedFamif the short name of this card is in markedFam then exit repeatgo prevend repeatunlock screen with visual wipe right fastend ifsend "openCard" to this cardend goMark-- handler to show printing paletteon showPrintingif there is a window "mainMenu" then close window "mainMenu"palette "printMenu","474,372"end showPrinting-- printing handleron doPrinting printWhatglobal markedFamif printWhat = "card" thendoMenu "Print Card"else if printWhat = "marks" thenif the number of items in markedFam = 0 thenanswer "There are currently no marked cards."exit doPrintingend ifopen printing with dialogrepeat with x = 1 to the number of items in markedFamgo card item x of markedFamprint cardend repeatclose printingelse if printWhat = "stack" thendoMenu "Print Stack..."end ifend doPrinting--—————————————————————————————————————————————————————————————————————-- intercept keyboard and menu handlers: ————————————————————————————-- redefine some menu commandson doMenu whatMenu--// Modified by Medior, Inc. 3/13/91global RPStackNameif whatMenu = "Help" thendoStackHelpelse if whatMenu = "Message" thenshowMenuelse if whatMenu is in "First Last Prev Next" thenanswer "Use the buttons at the bottom of the card or the arrow keys to navigate."-- else if whatMenu is in "Quit HyperCard Home Find... Print Report..." then-- exit to hyperCardelse if (","& whatMenu &",") is in ",Home,Quit HyperCard," and RPStackName is not "" thenset cursor to 4put RPStackName into sNrepeat until offset(":",sN) = 0delete char 1 to offset(":",sN) of sNend repeatdelete last char of sNanswer "This will return to "&sN&"." with "Cancel" or "OK"if it is "Cancel" then exit domenuset cursor to 4lock screengo RPStackNameunlock screen with dissolve fastexit domenuelse pass doMenuend doMenu-- same as clicking the arrow buttonson arrowKey whatKeyif whatKey = "Left" then click at 527,456if whatKey = "Right" then click at 567,456end arrowKey-- same as clicking the return buttonon returnKeyclick at 607,456end returnKey-- intercept enter keyon enterKeyend enterKey--—————————————————————————————————————————————————————————————————————-- end stack script —————————————————————————————————————————————————--—————————————————————————————————————————————————————————————————————</script>
<background id="2601" file="background_2601.xml" name="Macintosh Advantage" />
<background id="2884" file="background_2884.xml" name="Stack Map" />
<background id="5988" file="background_5988.xml" name="Introduction" />
<background id="7596" file="background_7596.xml" name="Customer Questions" />
<background id="11136" file="background_11136.xml" name="Macintosh Family" />
<background id="21076" file="background_21076.xml" name="Competition" />
<card id="9916" file="card_9916.xml" marked="false" name="opening" owner="5988" />
<card id="27272" file="card_27272.xml" marked="false" name="opening" owner="5988" />
<card id="27899" file="card_27899.xml" marked="false" name="opening" owner="5988" />
<card id="31509" file="card_31509.xml" marked="false" name="opening" owner="5988" />
<card id="3677" file="card_3677.xml" marked="false" name="Stack Map" owner="2884" />
<card id="5242" file="card_5242.xml" marked="false" name="Advantage" owner="2601" />
<card id="4626" file="card_4626.xml" marked="false" name="" owner="2601" />
<card id="8736" file="card_8736.xml" marked="false" name="" owner="2601" />
<card id="9614" file="card_9614.xml" marked="false" name="" owner="2601" />
<card id="2319" file="card_2319.xml" marked="false" name="" owner="2601" />
<card id="4996" file="card_4996.xml" marked="false" name="" owner="2601" />
<card id="10811" file="card_10811.xml" marked="false" name="" owner="2601" />
<card id="7952" file="card_7952.xml" marked="false" name="" owner="2601" />
<card id="9121" file="card_9121.xml" marked="false" name="" owner="2601" />
<card id="9428" file="card_9428.xml" marked="false" name="" owner="2601" />
<card id="25409" file="card_25409.xml" marked="false" name="" owner="2601" />
<card id="31049" file="card_31049.xml" marked="false" name="" owner="2601" />
<card id="11443" file="card_11443.xml" marked="false" name="Family" owner="11136" />
<card id="31356" file="card_31356.xml" marked="false" name="Target Markets" owner="11136" />
<card id="36198" file="card_36198.xml" marked="false" name="Target Markets" owner="11136" />
<card id="37324" file="card_37324.xml" marked="false" name="Target Markets" owner="11136" />
<card id="20478" file="card_20478.xml" marked="false" name="" owner="11136" />
<card id="11799" file="card_11799.xml" marked="false" name="" owner="11136" />
<card id="12160" file="card_12160.xml" marked="false" name="" owner="11136" />
<card id="12502" file="card_12502.xml" marked="false" name="" owner="11136" />
<card id="12761" file="card_12761.xml" marked="false" name="" owner="11136" />
<card id="48368" file="card_48368.xml" marked="false" name="" owner="11136" />
<card id="12858" file="card_12858.xml" marked="false" name="" owner="11136" />
<card id="13339" file="card_13339.xml" marked="false" name="" owner="11136" />
<card id="13699" file="card_13699.xml" marked="false" name="" owner="11136" />
<card id="14022" file="card_14022.xml" marked="false" name="" owner="11136" />
<card id="14111" file="card_14111.xml" marked="false" name="" owner="11136" />
<card id="14467" file="card_14467.xml" marked="false" name="" owner="11136" />
<card id="20944" file="card_20944.xml" marked="false" name="" owner="11136" />
<card id="38073" file="card_38073.xml" marked="false" name="" owner="11136" />
<card id="38285" file="card_38285.xml" marked="false" name="" owner="11136" />
<card id="38542" file="card_38542.xml" marked="false" name="" owner="11136" />
<card id="38846" file="card_38846.xml" marked="false" name="" owner="11136" />
<card id="38984" file="card_38984.xml" marked="false" name="" owner="11136" />
<card id="39243" file="card_39243.xml" marked="false" name="" owner="11136" />
<card id="39620" file="card_39620.xml" marked="false" name="" owner="11136" />
<card id="39923" file="card_39923.xml" marked="false" name="" owner="11136" />
<card id="40619" file="card_40619.xml" marked="false" name="" owner="11136" />
<card id="40116" file="card_40116.xml" marked="false" name="" owner="11136" />
<card id="40325" file="card_40325.xml" marked="false" name="" owner="11136" />
<card id="40786" file="card_40786.xml" marked="false" name="" owner="11136" />
<card id="40997" file="card_40997.xml" marked="false" name="" owner="11136" />
<card id="41281" file="card_41281.xml" marked="false" name="" owner="11136" />
<card id="41580" file="card_41580.xml" marked="false" name="" owner="11136" />
<card id="42074" file="card_42074.xml" marked="false" name="" owner="11136" />
<card id="4159" file="card_4159.xml" marked="false" name="" owner="11136" />
<card id="43237" file="card_43237.xml" marked="false" name="" owner="11136" />
<card id="42990" file="card_42990.xml" marked="false" name="" owner="11136" />
<card id="34480" file="card_34480.xml" marked="false" name="" owner="11136" />
<card id="37690" file="card_37690.xml" marked="false" name="" owner="11136" />
<card id="44133" file="card_44133.xml" marked="false" name="" owner="11136" />
<card id="44481" file="card_44481.xml" marked="false" name="" owner="11136" />
<card id="45042" file="card_45042.xml" marked="false" name="" owner="11136" />
<card id="45173" file="card_45173.xml" marked="false" name="" owner="11136" />
<card id="21325" file="card_21325.xml" marked="false" name="Competition" owner="21076" />
<card id="22027" file="card_22027.xml" marked="false" name="" owner="21076" />
<card id="49068" file="card_49068.xml" marked="false" name="" owner="21076" />
<card id="50488" file="card_50488.xml" marked="false" name="" owner="21076" />
<card id="22508" file="card_22508.xml" marked="false" name="" owner="21076" />
<card id="43581" file="card_43581.xml" marked="false" name="" owner="21076" />
<card id="31996" file="card_31996.xml" marked="false" name="" owner="21076" />
<card id="43886" file="card_43886.xml" marked="false" name="" owner="21076" />
<card id="22749" file="card_22749.xml" marked="false" name="" owner="21076" />
<card id="50885" file="card_50885.xml" marked="false" name="" owner="21076" />
<card id="23618" file="card_23618.xml" marked="false" name="" owner="21076" />
<card id="24164" file="card_24164.xml" marked="false" name="" owner="21076" />
<card id="22935" file="card_22935.xml" marked="false" name="" owner="21076" />
<card id="23498" file="card_23498.xml" marked="false" name="" owner="21076" />
<card id="46122" file="card_46122.xml" marked="false" name="" owner="21076" />
<card id="46613" file="card_46613.xml" marked="false" name="" owner="21076" />
<card id="47148" file="card_47148.xml" marked="false" name="" owner="21076" />
<card id="23989" file="card_23989.xml" marked="false" name="" owner="21076" />
<card id="47819" file="card_47819.xml" marked="false" name="" owner="21076" />
<card id="28172" file="card_28172.xml" marked="false" name="" owner="21076" />
<card id="8420" file="card_8420.xml" marked="false" name="Questions" owner="7596" />
<card id="7743" file="card_7743.xml" marked="false" name="" owner="7596" />
<card id="30833" file="card_30833.xml" marked="false" name="" owner="7596" />
<card id="8478" file="card_8478.xml" marked="false" name="" owner="7596" />
<card id="45417" file="card_45417.xml" marked="false" name="" owner="7596" />
<card id="36747" file="card_36747.xml" marked="false" name="" owner="7596" />
<card id="45747" file="card_45747.xml" marked="false" name="" owner="7596" />
<card id="36415" file="card_36415.xml" marked="false" name="" owner="7596" />
<card id="29930" file="card_29930.xml" marked="false" name="" owner="7596" />
<card id="41730" file="card_41730.xml" marked="false" name="" owner="7596" />
<card id="49738" file="card_49738.xml" marked="false" name="" owner="7596" />
<card id="50005" file="card_50005.xml" marked="false" name="" owner="7596" />
<card id="28997" file="card_28997.xml" marked="false" name="" owner="7596" />
<card id="13150" file="card_13150.xml" marked="false" name="About this Stack" owner="7596" />
</stack>